package com.scs.application.modules.sys.service.impl;

import com.scs.application.core.service.BaseServiceImpl;
import com.scs.application.modules.sys.entity.Log;
import com.scs.application.modules.sys.mapper.LogMapper;
import com.scs.application.modules.sys.service.LogService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 */
@Service
public class LogServiceImpl extends BaseServiceImpl<LogMapper, Log> implements LogService {


    @Override
    public boolean save(Log log) {
        return super.save(log);
    }
    @Async
    @Override
    public boolean saveAsync(Log log) {
        return super.save(log);
    }
}
